update after clear