add photos and update photo