update some variant code