Changes the update_column to update_attributes for mongo