change from update_attributes