Modify controller with update_by_keys method.