make sure legend text is updated with new commands