update api parse for set ns