Update the main page to load enquiries from db.