Implemented template updating action