Update expandedEquation