modify contact and layout