Update for new ol3 vector api