insert update move to click callback