updating method snippet