Subquery to update the user's points