Removed duplicate update_attributes hash