update for email stuff