update calculation of cross-phases and h/p flux