Method for REST PUT