fix bug get instead of updateValue
fix bug undefined id