update the doc and api doc to 1.2b2