use bindAttr to dynamically update