Update avh-ec.core.php