update env variable and gem files