The principle of preservation of probability and the generalized density evolution equation