update algo. in py_code, add imp_intent info in config. xml and web server.