Update Url in previous/next button