updating triangulation function