update template and remove enter/exitEditMode functionality