update requirement and design and database doc.