update to new API
add status sending on (dis)connection
update TODO