added layer and add-on as child resources of patching