Add position attribute to source endpoint