update point conversion. there was a bug with iterating through attributes.