Updates resources.