updated profile to hold avatar file in a differend variable