change order of update_attributes