got reload of resources working