Update Entity.php