Updating UI + sockets