Update resource files; rewrite index.html