Update usingassets.rst

updated "how-do-i-configure-it-in-code" code to reflect the latest