Update Persistence Code