migrate uniapi