* mesh preprocessing
update template