made procedure update_anl_line_notes into an autonomous transaction