Update to handle postgis 2.1