update user flag