added ability to delete pictures