Update sock.php