updates map styling and directive