Added delete all function to resourceholder