Update MTA script

- Fix how it's accesing the info
- Handle more states (delayed, planned work)
- Add when the info was updated.
Merge pull request #1323 from kitop/mta-update

Update MTA script