Updated example and added rename event handler