def update_energy(self, bypass_check: bool = False):
        """Builds weekly, monthly and yearly dictionaries"""
        if bypass_check or (not bypass_check and self.update_time_check):
            self.get_weekly_energy()
            if 'week' in self.energy:
                self.get_monthly_energy()
                self.get_yearly_energy()
            if not bypass_check:
                self.update_energy_ts = time.time()