corrected PUT to send content-type