updating files, implement voting