update z-axis in image for ST_CoordDim