Update local storage data when offline