update rename resource