updated state tracker to include state of training