Created an update method for schedulemanager.