add update variant functionality