flag whether to reidnex object after modification