update scheduler script