updating oop varaibles and template files