add database and links