updates the protocol to save network-traffic and json-parsing.