update home page to specified template