Updating a table using a scalar subselect