replace existing template in the Controller