Better api for userStore.update callback