Fixes an issue where user could not be updated

Will resolve #46