upload photos and deleting photos