upgrade library for use with injections.