code cleanup in UserUpdateTask