updated dynamic ui