update to 3.40.0
update to 3.2.0
adjust naming
change email function