Live gist, and update template too