update alternatives table