update styles, imgs and data