update voting and layout