Update UI when renaming files