updated crud operations for more appropriate http methods and set id parameter