Heavy quark dynamics in the QGP