Updating lib.php files to enable Announcement