update generate npp