Update code blocks in using-the-constretto-configuration-factory