trying to get the delay and update to work