Update database tables truncation