persist vote information to disk in voteInfo collection in local database