simplified update_attributes