update vsite api function; exit early if no vsite loaded #1212