Commiting changes to parent+child