Updated depcrecated bindAttr