example code fixed

update() would change query type from TYPE_FIND_AND_UPDATE to TYPE_UPDATE