benchmark for updating file