update template + catch exceptions in processors when logout