changed db design finalize html votes