adapted notify process to context refactoring