Updating selector state