Update get/post endpoints