Added alert when task update fails.