Update times

corrected logic for next update for image check.