update gem and some configuration