a simple code block that updates other objects on a set interval