Update advanced.rst

Got the formatting done