upload config and router