voting now functions properly.  Changed vote update function