updating existing APIs to follow restful route conventions