refactor page updated