add preview page
update config