update SQAP in SPMP and code line tracker