updated assignment notification logic