updated package to use the handlebars api