ssa.c: Use ssa_db_update_init before return back update message
ssa.c: Fix connection state checking