update baidutranslate api for editor