Updated the update interval to the value rather than a sum
Formatted GA code