Updating the correct file