Added updateCache and localStorage version update features.