Fixes an issue where user could not be updated