rank for leaderboard and command to update scores