updata with contour