updated all the div elements