main page content edit, ks function add