update timer for image