Upating Solution or wsp File Through PoweShell

Open SharePoint power shell and write a command below shown.
 
Syntax
 
Update-SPSolution -Identity "Solution name " -LiteralPath "Path of the solution "-GACDeployment
 
Ex

Update-SPSolution -Identity Webpart.wsp -LiteralPath D:\Webpart\bin\Debug\Webpart.wsp -GACDeployment