pub fn update(duration: Duration, function: fn())
Update is a function that calls or “updates” another function