update database design and add some pages