Update NB for getting weights