ability to modify consent offline

Can you comment on what readFromStorage means and why if it's true do we call saveToStroage in the update method?