Amend entry when we already have one for today

If we already have an entry for today, then amend that entry instead of creating a new one.