update styles, track selected devices