improve api doc