update transition class