fixed error in update mail