Inverse logic error in the model update method

Shouldn't it be this way?

Updating the model when it already exists and create a new one if it doesn't.