update event and config for preview
adding cname