update gems and config mongoid