updated the thank you redirection