updated code for adding position. added mapbox