added update to ballots add and ballots edit