updates page margins