update PowerAmc Export

use auto-generated Id in 'insert' method of manager class
add new_id SQL function