Add docs for migrate API