Town gets funds from state for upgrades