added TSID table insert and update
added signal table update, but it has a bug
fixed bugs with processing raw spots