send json on connect and update