Update SELECT to try and improve speed.