Fix resource did not update

whoops