update appcache and apply online pictures