updated to main document