Update database adapter