Added state to model db