Only update elections once a day

Database now keeps track the last time the elections were updated and
will now only check to see what updates to be updated once a day.
Must update database file again.