[task] adjust code to new updateUser