update TousseDefinition set disposableGoodsAmount=(select sum(amount) from DiposableGoodsInstance where tousseDefinition_id=TousseDefinition.id);