update to document directory