update  selectionchange