Editor: added some fields, saving function updated