update code parsing rule