added a new function to automatically set a property to a given value for all existing childs