updates template fpi

work on during free time. Continuously add new changes and addition.