add validation for editing products in show page