Added Joi validation for update path