updates according to email