Add DBState usage for NamespaceState

Also fix some ns command typo