update code using gist