For the insert - no, you will have to do thisw manuylla.
For rebuilding the caches:
includes/adminfunctions.php
PHP Code:
// #############################################################################
/**
* Rebuilds the $vbulletin->usergroupcache and $vbulletin->forumcache from the forum/usergroup tables
*
* @param boolean If true, force a recalculation of the forum parent and child lists
*/
function build_forum_permissions($rebuild_genealogy = true)