Updated the example so that it works

The example missed the database as the first argument to the Model creation call.