updated the redirect