replace object name in list