update mincals.inc.php