Index: /tags/ipp-test-20130710/ippScripts/scripts/chip_imfile.pl
===================================================================
--- /tags/ipp-test-20130710/ippScripts/scripts/chip_imfile.pl	(revision 35795)
+++ /tags/ipp-test-20130710/ippScripts/scripts/chip_imfile.pl	(revision 35796)
@@ -235,4 +235,8 @@
         if ($dump_config || rerun_photometry($outroot, $class_id)) {
             carp "Will rerun photometry\n";
+	    if ($update_mode) {
+		carp "Sorry, update_mode = 1. Will NOT rerun photometry\n";
+		$do_photom = 0;
+	    }
         } else {
             $do_photom = 0;
@@ -492,4 +496,7 @@
     if ($no_compress_image) {
         $command .= " -R PPIMAGE.CHIP FITS.TYPE NONE";
+    }
+    if ($run_state eq "update") {
+	$command .= " -Db PPIMAGE:MASK.STATS FALSE ";
     }
     $command .= $burntoolArguments if $burntoolArguments;
