various updates to remove function and merge functions