Modify notes, delete useless prog notes