Return instance of object when create
Fix memory adapter: broken upd attrs