API template updated with latests changes