Update database.tpl