updated cusum/gm