This is the basic how to write Stored Procedure
CREATE PROC dbo.MYPROCEDURE
@ID int,
@cnmtno int,
@cnmtdate datetime,
@package int
AS
UPDATE [TABLENAME]
SET cnmtno = @cnmtno,
cnmtdate = @cnmtdate,
package = @package
WHERE despatchedfrom='Delhi' and ChallanNo=1212 and IDCOL = @ID