thanks for the hint. I found a solution to my problem.
So checking out the update.php file, there is a empty cache section...
so if you are working with CMP and you are saving / updateing resources with your individual code. then you can do this to empty the cache of an updated resource.
$resource = $modx->getObject('modResource', $yourResourceID);
$resource->set('pagetitle', $strNewPagetitle);
$resource->set('alias', $strNewAlias);
if($resource->save()) {
/* empty cache */
$cacheManager= $modx->getCacheManager();
$cacheManager->clearCache(array (
"{$resource->context_key}/resources/",
"{$resource->context_key}/context.cache.php",
),
array(
'objects' => array('modResource', 'modContext', 'modTemplateVarResource'),
'publishing' => true
)
);
}
Thanks for helping me out here.

cheers ragnar