update all functions except for sending email