Update the webserver an adadd socket.io events