updates to photos and error fixes