The idea seems good to me, but I guess it should be in the Seaside package, not in the main image's update stream. The code looks fine, though I haven't tested it.