master now updates state tracker when done training