add put mapping call before running
add mappings for personhistory
add documentation for index datamodel