update operands