adding a point layer and updated index