Update entities.inc.php