update main part. tpl and js need to be update.