Database.sample edit