modified the function of alter_table for multiple column changes