refactor(select): move logic for calculating if value needs updating to separate method.