Update using inject_to_file