Updating Tex File