update edit file