update bind-attr

bindAttr is deprecated, and throws a warning.