update email form attribute