added method to create nsupdate.txt