update MBAR routine