edit apis and template files