updates appearance.