Update to persistence layer to read and write operations