updates paths for resources