Moved the blink functions so that they update properly