fix bug index_page when running update.