update the last file