updated protocol to work with new server changes