Stochastic control with tracking of exogenous parameters