write tmpl and mrkp changes