updating photo and user settings