Update hidden elements