add session support
add nested model update workaround