change for renaming after deletion