remove file at update