working to implement an nsupdate api