update index and add error.hbs