fix bug to avoid caching session object to update configuration
bump up version to 0.1.7