add support for deleting photos