allow photos to be edited and updated.