fix bug with incorrect request body in cocktail PUT