drop bd before update