update to sample dau/mau code