updated pullprotocol example