fix gas update