Update active contours