modification in access to delete photos