recalculate vote count after every vote