Miles Updating a bunch of the selection queries.