updates canonical url