modify setting for preview and admin uri change