I'm not sure to understand why we are doing this. Why retrieving the current record instead of simply replacing it straight away via a `store.put(record)` ?