Update document upon changes on first tab to be able to keep sync when switchin gbetween tabs
All values from first page updated in document upon modification