$c->model('PVDB::Product')->search( { -and => [ { id => { in => \@ids } }, { price => { '<>' => 100 } }, ], }, )->update( { price => 100 } );