Fix gas update