update gem to support configured branch as master