Optimizing `Project.update_role_points` method