Changed the upsert command for the nuts_completed.