fix user type checking during update