updated references

- also fixed broken web tests
- fixed bug in media update import