Updated new user and edit user for avatar