database mapping update for vote.