fixed bug in updatereg causing email domains to not be saved to db