Add migration guide, and modified api document.