Save and delete Repositories