Update Hamlet.php