implemented deletion in photos