cache thread with localStorage testing
Add update mechanism