If i understood you correctly you want to update TABLE A->Weight column which currently has null values to other value based on Id and Parameter criteria.
If this is what you want then you can use below SQL
UPDATE <table_name>
SET WEIGHT = <SOME_VALUE>
WHERE ID = 2
AND PARAMTER IN (1, 2, 3 , 4)
WHERE WEIGHT IS NULL