Fixed document key to upsert