added hidden form input for date, fiddled with queries to prevent updates from being pulled from previous days