Update with pseudocode