add database and update interval