updating summary file is now one function call