updating scheduler