add save in scheduler