Update timed.lua