Saving new name after duplicate document