adding update capability, more bug fixes on pagging and some
cosmetics...