Fixes namespace parameter error in _run_as_update. Also fixes deprecation warnings regarding the usage of np.int