adjusting the fields in a query to match the column rename