update model
add binding ui and db handling