update index teaching