rename and add new document listener