get_children deprecated in ElementTree

fixes deprecation warnings from element tree using getchildren method.