Updating dynamic layout styles