It usually take 1 to 2 weeks for the puppy to adjust to new food.
Try giving him a little plain yogurt once a day (one spoonful) and that should help "reset" his tummy.