Update history page and url history