updated document mapping