updated teacher main