update MBAR routines