updated genearated codes