Update namespace with existence check