update of legend triggers update of routes