update the template to support the featured image