update user edit and change avatar