You can upgrade from any Identity Manager 3.5.x version of the JMS driver. Upgrading a pre-3.5.x version of the driver directly to version 3.6.1 is not supported.