update equation tex snippet