update rm and remove set ns