updates for testing with self-hosted server