adding second parabola example with problematic update function