update operation code