add support for deleting branches and versions