[IMP]migrate new api