## Update

You can modify a specific record instance or a group of instances of a Data Master using event's actions during simulation. To modify records from a specific Data Master, create the corresponding Data Master action following the steps:

1. Select the widget which will trigger the event on the canvas.

2. Click on 'Add interaction' in the Events panel. A dialog will appear showing all the available actions that can be defined.

3. Click on 'Data Master action'.

4. Select the Data Master you want to modify records from and click on the 'Modify' button. The Expression Builder will appear with a modify expression.

5. Create the expression filling the required parameters with any data sources. Notice that the first parameter of the expression refers to the record or records collection you want to modify.

   Example 1: This expression modifies all users from the Data Master 'Users' using some form inputs as values.

   Example 2: This expression modifies only users matching 'Username=Bob' using some form inputs as values.

6. Press Ok to all opened dialogs to apply the changes.

Notice that all the instances you create, modify or delete during simulation will be restored once you stop simulating.

For further information check out the video tutorial: http://www.justinmind.com/tutorials/advanced-level/edit-forms/