API fix for put request