updated the database connection dan builder