update namespace foo, cleanup