update mail plugin