improvement: now call millis() one time over an update

This commit intent to improve the speed of the library. Also I think is better to  have all timers synchronized by only one call to millis. Last but not least, less calls to millis is better, because millis deactivate interrupts.