update email function in Canvas.