updating gem and envirnment file