New function to regulate our update steps.