update all resources