Lighthouse Integration 5.1.1

Fixed: Resolved an issue where scheduled audits were failing for newly added sites.
Updated: Improved internal logic for updating or inserting Lighthouse records, resulting in more unified and reliable data management.
Updated: Delegated data update logic to a dedicated method for better maintainability.
Updated: Reformatted code for consistency and readability without affecting functionality.