Update to legend