update the appication with the baselayer inside the layer control