update mapping info and page struct