Type hint config and update model injection