update the persistence layer