refresh project before deleting