update dia-source for ER, remove autosave