update for production api