Is it possible to do update scripts inline with mustache?

I am trying to convert away from inline groovy scripts but the page in the docs contains mvel/groovy examples. I don't see any error in elastic search logs when I submit an update script with lang set to mustache but I don't know how to refer to what in groovy is ctx._source etc. Does anyone have an example?