edit adapter