update gxp so legends work against ArcGIS Server in the LayerManager