Added dynamic page updating