fixing isue with upadting sample template