added schemaName support for update()