Update modelBase.php