Cache updated thread data in sessionStorage

For reasons described in the commit
Replace old thread data with updated data

i.e. do what the previous commit actually expects