Removing redundant call to set the timeout property.
Updating without using setTimeout