add day manage logic