change Template API execute(..) to merge(..)