Update application to send mails when order is updated