update edit-file