update user attributes and delete samples