Updated deploy script and regen API doc.