fix upsert explain