Fix store update: use the old record when resolving promises