added donotupdate option