now using the correct source document for triggering layer-republishing.