Hi,
you have to distinguish ajax request and current EPESI gui instance. Ajax request is a separate instance of EPESI backend. You can't refresh body from Ajax request.
define('CID', $cid);
require_once('../../../../include.php');
ModuleManager::load_modules();
//do something here then RETURN SOME VALUE
Now in the place where you make your AJAX request you should react on the returned value - display it or something.
If you need to refresh body to see changes made, then you should probably use the callback link to run your code.
see here. Return false after action.
Regards,
Adam