modify jinja code in deploy.j2