.Net Core Web API update nuget package

Hello, I am working on .Net Core Web API. I have one API Service and inside that i have two solutions .sln like ‘Data.sln’ and ‘Data.Def.sln’. This Data.sln has reference of Data.Def.sln that Data.Def services installed in nuget package of Data.Def . I have modified some code changes in the Data.Def project solution.

The Data.sln project has the reference of Data.Def package version that has the existing changes. How can i update the nuget package with my code changes of Data.Def solution project package in the Data.sln.?