Add the updated and sent attribute

These will be helpful so that a notice is not updated more than once and not
sent multiple time to the user.

Signed-off-by: Venkatesh Shukla <venkatesh.shukla.eee11@iitbhu.ac.in>