update day margin judgement and post msg