bug fix

1 fix bug that cannot make data to null
2 fix bug that cannot update is consumed and is decimal unit