Some small changes in NetworkDb