update only changed layers in _initLayers