Updated mustache render method