updated the api server for part2