code updation in discount