Updated point and line feature to new API