change signature of update function in PointSlopeEquationNode and SlopeInterceptEquationNode