Timeline change according to the subitem

Is there any solution to adjust the timeline of the master item based on the subitem?

For example
Master item :
Build a house 1/1-30/1
sub items :
Foundation 1/1 - 10/1
Build walls 11/1 - 20/1
Build roof 20/1 - 31/1

let say, if build walls is delayed from 11/1-20/1 until 11/1-25/1.

Is there a solution to

  1. Update the Build Root timeline?
    2 Update the master item timeline?