Update guide_legend for new syntax