Support promise style
Update document