metadata added
update to new vector api,fix rubberband issues