update mail core