Update thank you logic