updated dynamic styling