update loading page and submitted page