fix so update resource does not run