update margins+background color