update resources