improvement

fix caching bug that prevented some cached elements from being flushed
added auto update for voting results