change put to patch for certain routes.