before update test