update spinning bar to use delay_ functions