update gems, fixed errors