Update relay.php