manage doc