Added validation for pets updates