Update connector.php