Update code in random button