adding ability to update visitor with socket json