Narrowing down problem with update/upsert.