updated notice css from id to class and added update to controller