update pythagorean theorem demo