change how to deselect a updated row