add docs in setAttributes
add docs about bidirectional bindings
add docs about bindings