Update selected item.