# Update the Prepare Recipe[¶](https://knowledge.dataiku.com/latest/courses/advanced-data-prep/data-pipelines/update-prepare-recipe.html#update-the-prepare-recipe "Permalink to this headline")

In the Basics courses, we looked at the total purchase history of each customer. In this Flow, we want to break down the purchase history by year. As a first step, we’ll need to update the first Prepare recipe so that it extracts the year from the column *order\_date*.

* Open the first Prepare recipe.

* Click on the *order\_date* column heading, and select **Extract date element** from the dropdown list.

* In the newly created step in the script, clear the entries for month and day so that only *order\_date\_year* is created.

* Click **Save**, and accept the schema changes, but do not run the recipe yet.

Note

**Recipe Run Options**

After accepting the schema changes, it is not necessary to run the recipe at this time. The next few visual recipes can be created by saving and updating the schema each time, without building the datasets. Wait for instructions to build the dataset to better understand Dataiku’s Run options.
