update similar days of the week id
refactor