gustafn
committed
on 29 Jul 07
make update_views simpler and more generic