Incremental Processing and Optimization of Update Streams