update teaching detail