update the documentation of formattype