update next_run first then publish message