Fixing so that it only updates for the day