Are you sure that you have to use c_updatehull(my,1); ? That would be quite surprising. Try to replace the instruction with c_setminmax(my); and keep the wait(1) before it.
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual