Fixed issue with document type id not being returned, also saves before ...

...publish and no longer calls obsolete UpdateDocumentCache method.