added twoStageBuilderFactory and made the two stage builder updatable
Merge pull request #79 from sanity/add2StageBuilderBuilderFactor

added twoStageBuilderFactory and made the two stage builder updatable