updated scheduler