use value api for value attribute bindings

closes #3