pass previous value to change event