add mapping for post and put