Update unsaved file