regression macro update