then you should probably rename `updateDetails` to `getDetails` or `extractDetails`