Always update focus and history when inserting