update second bean scope xml code sample