fix issue with emailupdate