clean for updating