Update references to database to use logs_database