change of point now updates flags correctly