SQL update for new geometry

#161 #76