Maintaining template