Local voting machines to be upgraded