update docs & doc type