update url for mailer