I purchased a new whirlpool water heater about 2 months ago. I have a two story house, their seems to be a good hot water to the first floor faucets but it seems like it takes a long time for the hot water to get to the second floor, then it doesn't get hot enough. What could be my problem?
The change in water heaters should not have affected any of the physics of how the hot water travels through your home. Water will take just as long to travel through the pipes to the second floor as before, and it will lose a similar amount of heat along the way.
My guess is that your new water heater is set to a lower temperature than your old one. Water heater manufacturers and plumbers are more sensitive to scalding danger now than they used to be. The current recommendations are generally not to exceed 125*F.
You probably have a preference for how "hot" you want the water coming out of your faucet to be for washing your hands, maybe it's around 120*F. You mix hot and cold water at the faucet to reach this temperature.
I'm sure you've experienced that when you turn on the shower or the faucet to "hot," the water starts cool and at some point it starts gradually warming up, until it reaches some maximum temperature (this maximum temperature likely varies around the house--the facuets furthest from the heater will have a lower maximum temperature than those close to the heater, as some heat is lost from the pipes along the way).
It can take quite a while from when the water first starts warming until it reaches full temperature--you not only have to get water from the water heater to the faucet, but you must heat up all the pipes along the way before you reach steady state. This can take minutes. The hot water is often much hotter when you're done washing a sink load of dishes than when you started.
If your old water heater had been set to a higher temperature, say 140*F, the water will reach your desired temperature of 120*F a bit quicker than your new water heater, if your new water heater is set to 125*F. With your new water heater, you need to get almost all the way to the setpoint of 125*F before you reach your desired temperature of 120*F. This takes some time.
Therefore, you might try adjusting the setpoint of your new water heater, but be aware that the risk of scalding is serious, especially with young children or the elderly. See The Burn Foundation for more information.
If you still aren't satisfied with how long it takes to get hot water at the faucet, you'll need the plumbing reworked. A PEX system with local manifold (closer to the point of use) and a recirculating pump works great.