updates. working rpc and websockets