fix fk on pool id.
add more service commands