update coder protocol