updateCurrentFiles on edit changes.