update db sample