corrected automatic updating