Added a test before scheduling the next update