updated base code for new quorum versions