update config and base: site_type instead of type