update persistence config