but i thought buddhist belief that after you died you turn to other type of physical body/form like cats dogs depends on how good are you...but it has the same soul
No, Buddhists do not actually believe in reincarnation in that sense, despite the popular misconception. What carries on after death is not an individual soul as Christians and muslims perceive it.
The formal doctrine is called "dependent origination". The 'reborn' being is not the same as the one that died, it is the result of causal factors originating (as far as any causal factor can originate) in previous 'lives'. Every action we make and indeed thought we have has the effect of putting other processes in motion. These processes in turn become causes, with their own effects, and so on. At death these factors (whether a person is 'good', 'bad', etc) enter into the causal process ('karmic causality') which leads to another embodied sentient being born, the initial nature of that sentient depending upon actions of the now-deceased in one or more of their previous 'lives'.
It really isn't as complicated as it sounds, but my explanation was not the best, I fear. Simply, Buddhists believe not that a 'new' person is, or has the same soul, as the 'old' one, but that the 'old' persons actions
caused the new person (or animal, or whatever). The better or more spiritually advanced (the better their karma) the deceased, the better start in a spiritual sense their successor gets - although that may not be obvious to
them!