update teach ui