set the voted status on the data attribute