Update Socket.php