Update the definition creation script