Added last_update for dashboard speedup and added updating the db to -cleanup-db