switched to use production api