Fix a user update bug
Merge pull request #49 from VitSalis/fix_update_bug

Fix a user update bug