Medvedev will replace the Serbian at the top of the ATP rankings, after Djokovic's last-eight exit in Dubai.