The generated SomeModelContentValues.update(Context context, SomeModelSelection where) method uses uri() where where.uri() should be used. And likewise the SomeModelContentValues.update(ContentProvider contentProvider, SomeModelSelection where) method.
I've issued a pull request to fix this problem and make some other improvements.
Or please edit the contentprovider.ftl file and fix this problem. Thanks.