update teacher system