added a column for the latest generation id of functions.