Update resolve.php