update macro for parity studies