fixed update in resource