edit adapter
add connection & model