updated style of selected item