updates to clean up older revs of functions