1) restore the updating function for pricing server resources

2) add the function to read and iterate the input file that records resource requests in different scenario.