Edit a column in a table and corresponding columns auto update