bypasss cache when deleting graphs - internal. It invalidates cache at the end.