update the correct file