Add updateUser and tests

Update is put.