object updates for different doc types