Update gym method