Updated the notification API routes