Use PostGIS for the linemerge.
Update shapes.
The shapes cache tables, requires postgis.