update UI, mail improvement