writeXisAction template updated