Update db template & index page