updated legendmenu widget