updated config and routes