update index page and swf