update  for new version nimbus lib