update query to use unique id in first field; test is getting out of hand