Schemas save and restore
Save event handling and tree update