update body margin
update variables