updating criteria