add documentation for notifications