Updated the lightning system