patch for put