update xxx file