modal structure update