update z index of nav