updating editor to new version and better handling of editing