update URL with permalink