update preview and template docs