it shouldn't need to check inDocument in update