regenerate measures table