update for use with DynamicTeacher