Change update callback signature to `name, error, value`
Remove unnecessary function