change weeks logic