fix dictionary persistence kw
fix assign related persistence and update
small cleanups
add test for updated/created/exists