Update top_databases and top_tables view and template.