update templates
fix bugs
post success
update templates and fix some bugs