added additional code to upload photos for places