update coder protocal