add a hook to submit process to update mapstat
continously update mapstat table with new data, closes #18