updating namespaces for extended classes