updated for latest khmer-protocols