update api doc for 0.5