Traffic state estimation and prediction in urban networks through online modeling