Update Generator : main error corrected