Trainingsmanager update, paint function still won't function properly