Update navigation generation macro