update with selected