Update current document, add html and md forms.