update the avatar view