update generic-type-injection sample