fix page updating