lastrun of schedule is updated by every event