update structure, namespace