amended to update_column