update vectorMap directive