added action and route for updating cupboard ingredients