update rename function to support ctrlp plugin