add canDelete to persisted node