auto update email hook correction.