add entries to database