update computed styles