update preference markup