update active page