add function to features obj to push data from an index into postgis