Update appcache for offline