update gems and config