fixed the update username function
Merge pull request #20 from cnocon/stats

fixed the update username function