Used the update method on the context and added a new flag