update curls to follow redirects