Keeping the values updated for every team on the right dates takes a lot of patience, especially over a full season. I like seeing this kind of organized data because it makes comparisons much easier. After staring at numbers for too long, I usually switch to something light for a few minutes...
A simple way to handle this is to check whether the number already exists before creating a new record. If it does, you can use the existing entry, and if it doesn't, save it as a new one. That approach helps avoid duplicate data and keeps everything organized. I was working on something similar...