migrate to motor 0.3.4