updating samples with namespaces