framework update - db auto trim