updating virtual directory