updation with subtraction