refs #124 add function to change email