updated template from sonata