take a photo and update image list