update rename function