speed up schedule update

wrap all DB updates in one transaction -> less writes -> faster.