update to have scheduler as local dependency