Update URL before animation