update sock.send -> sock.send_string