update submitPicturesToGlass method