update get status and rewrite resource file
For first run and only first run. Increase performance for next run