Add truncate functionality and use it before repopulation.