modify tamplete